package com.gxa.saas.mapper;

import com.gxa.saas.pojo.Client;

import java.util.List;
import java.util.Map;

public interface ClientMapper {
    List<Client> selectByPage(Integer page, Integer limit);
    List<Client> selectByNameOrContactpersonOrCreatypersonOrLeaderperson(Map map);
    Client selectByPhone(String phone);
    Integer insert(Client client);
    void delete(Integer id);
    void update(Client client);
    List<Client> selectAll();
}
